﻿using EnetaMvc.Core.Domain.Content;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace EnetaMvc.ApplicationServices.Dto
{
    public class DynamicMenuDto
    {
        public long Id { get; set; }
        public string Name { get; set; }
        public string Url { get; set; }
        public bool IsVisible { get; set; }
        public int OrderPosition { get; set; }

        public DynamicMenuDto Parent { get; set; }
        public List<DynamicMenuDto> Children { get; set; }

        public DynamicMenuDto()
        {
            Children = new List<DynamicMenuDto>();
            IsVisible = true;
        }
    }
}
